import {connect} from 'react-redux';
import Home from './Home';
import Constant, {Services, Store} from '../../enums/constant';
const register = () => ({
  type: Services.REGISTER_SERVICE,
  payload: {
    phone: '12639282122',
    passwordcode: '123',
  },
});

const mapStateProps = state => {
  return {
    //这个state可以接受store中的state
  };
};
export default connect(mapStateProps, {register})(Home);
